package com.botao.tip.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.botao.tip.entity.Finance;

import java.util.List;
import java.util.Map;

/**
 * @author : vip865047755@126.com
 * @version :JDK1.8
 * @date : 2020-12-04 20:00
 * @File : FinanceService.java
 * @software: IntelliJ IDEA
 */
public interface FinanceService extends IService<Finance> {
    /**
     * 添加一条收支记录
     *
     * @param finance
     * @return
     */
    public boolean insert(Finance finance);

    public Map<String, Integer> inOuts();

}
